#!/usr/bin/env python3
from collections import Counter

c = Counter('abcabcabc')

for i in sorted(c):
    print(i, c[i])
